// libraries\config.php
$config = array(
'arrayDomainSSL' => array(), // string: domain chạy ssl
'database' => array(
'url' => '/pdomiko03/', // khi up lên hosting thì để '/'
Discover gists
version: "3.8" | |
services: | |
postgres: | |
restart: always | |
image: postgres:12-alpine | |
environment: | |
POSTGRES_USER: "postgres" | |
POSTGRES_PASSWORD: "postgres" | |
ports: | |
- "127.0.0.1:5432:5432" |
NAME:AACMFTEncoder VALUE:93af0c51-2275-45d2-a35b-f2ba21caed00 | |
NAME:ACPI_PLD_CONTAINER_BUFFER_GUID VALUE:c02fa109-6a82-4188-9f66-b190ba62db49 | |
NAME:ACPI_PLD_INTERFACE_CLASS_BUFFER_GUID VALUE:1facec76-96a8-4d9e-846e-3a6d687c32fc | |
NAME:ACPI_PLD_INTERFACE_INSTANCE_ANSI_BUFFER_GUID VALUE:1facea4b-da66-484c-ba5b-5127e05f95b2 | |
NAME:ACPI_PLD_INTERFACE_INSTANCE_GUID_BUFFER_GUID VALUE:1face9db-2530-4248-8ee3-51053aef47c2 | |
NAME:ACPI_PLD_INTERFACE_INSTANCE_UNICODE_BUFFER_GUID VALUE:1face3f6-1a60-4686-9833-ec8402d43b04 | |
NAME:ACPI_PLD_JOINT_BUFFER_GUID VALUE:f01cfc40-3c75-4523-9e44-215cb154bda6 | |
NAME:ACPI_PLD_SPATIAL_BUFFER_GUID VALUE:59af1a1f-aba4-4bb8-81ef-55938e9bc53a | |
NAME:ADDON_DISABLE_EVENT VALUE:09010002-0204-0002-0000-000000000080 |
영어지만, 조금 더 상세하게 마크다운 사용법을 안내하고 있는
"Markdown Guide (https://www.markdownguide.org/)" 를 보시는 것을 추천합니다. ^^
아, 그리고 마크다운만으로 표현이 부족하다고 느끼신다면, HTML 태그를 활용하시는 것도 좋습니다.
国内从 Docker Hub 拉取镜像有时会遇到困难,此时可以配置镜像加速器。Docker 官方和国内很多云服务商都提供了国内加速器服务。
Dockerized 实践 https://github.com/y0ngb1n/dockerized
Ubuntu 16.04+、Debian 8+、CentOS 7+
Slack doesn't provide an easy way to extract custom emoji from a team. (Especially teams with thousands of custom emoji) This Gist walks you through a relatively simple approach to get your emoji out.
If you're an admin of your own team, you can get the list of emoji directly using this API: https://api.slack.com/methods/emoji.list. Once you have it, skip to Step 3
HOWEVER! This gist is intended for people who don't have admin access, nor access tokens for using that list.
Follow along...
<!--- Tambahkan setelah app.css ---> | |
<link href="https://cdn.datatables.net/1.10.19/css/jquery.dataTables.min.css" rel="stylesheet"> | |
<link href="https://cdn.datatables.net/responsive/2.2.3/css/responsive.dataTables.min.css" rel="stylesheet"> | |
<style> | |
/*Form fields*/ | |
.dataTables_wrapper select, | |
.dataTables_wrapper .dataTables_filter input { | |
color: #4a5568; /*text-gray-700*/ | |
padding-left: 1rem; /*pl-4*/ | |
padding-right: 1rem; /*pl-4*/ |
<?php | |
namespace App\Http\Controllers\API; | |
class ResponseFormatter | |
{ | |
protected static $response = [ | |
'meta' => [ | |
'code' => 200, | |
'status' => 'success', |
import signal | |
import functools | |
async def looping_task(loop, task_num): | |
try: | |
while True: | |
print('{0}:in looping_task'.format(task_num)) | |
await asyncio.sleep(5.0, loop=loop) | |
except asyncio.CancelledError: | |
return "{0}: I was cancelled!".format(task_num) |
#region Custom Function Definitions | |
Function Test-Administrator { | |
$CurrentUser = [Security.Principal.WindowsIdentity]::GetCurrent() | |
$AdministratorRole = [Security.Principal.WindowsBuiltInRole] "Administrator" | |
([Security.Principal.WindowsPrincipal]$CurrentUser).IsInRole($AdministratorRole) | |
} | |
#endregion | |
#region Prompt Prep | |
# Set ENV for elevated status |